package com.cc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cc.domain.parm.LiverWaterParm;
import com.cc.domain.parm.WaterParm;
import com.cc.domain.pojo.Wy;

/**
 * 水费管理Service层
 */
public interface WyService extends IService<Wy> {

    //新增
    boolean saveWy(Wy wy);

    //编辑
    boolean updateWy(Wy wy);

    //删除
    boolean removeWyById(Integer waterId);

    //分页查询
    IPage<Wy> getList(WaterParm waterParm);

    //水费记录查询
    IPage<Wy> getLiverWyList(LiverWaterParm liverWaterParm);
}
